package cn.mickey.exchange.mapper;


import cn.mickey.exchange.domain.model.FavoriteModel;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FavoriteMapper extends BaseMapper<FavoriteModel>{
    List<FavoriteModel> getAllFavorite(@Param(Constants.WRAPPER) QueryWrapper<FavoriteModel> queryWrapper);
}
